<template>
  <div style="text-align: center; background-color: #FFFFFF;width: 100%;">
    <el-main>
      <el-col :xs="15" :sm="15" :md="15" :lg="15">
        <table border="0" style="width: 160%; " align="center" cellspacing="0">
          <tr>
            <td style="background-color: #ffffff; width: 100px;height: 80px;" colspan="3">
              <el-col :span="23">
                <div class="grid-content" style="width: 100%;height: 100%;"><img src="./img/9961ec293053da9a15dabee8cd5f206.jpg"
                    width="105%" height="120%">
                </div>
              </el-col>
            </td>
          </tr>
          <tr align="center">
            <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="24">
                <div class="grid-content " @click="jump('/test/smalltest/measurement/index')"><img src="../sys/dashboard/analysis/img/jisuan.png">
                  <center>
                    <el-button type="text" @click="jump('/test/smalltest/measurement/index')">量刑计算</el-button>
                  </center>
                </div>
              </el-col>
            </td>
            <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="24">
                <div class="grid-content " @click="jump ('/mailbox/index')"><img src="./img/xinxiang.png">
                  <center>
                    <el-button type="text" @click="jump ('/mailbox/index')">信箱</el-button>
                  </center>
                </div>
              </el-col>
            </td>
            <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="23">
                <div class="grid-content " @click="jump('/notify/MyNotifyList')"><img src="../sys/dashboard/analysis/img/tonggao.png">
                  <center>
                    <el-button type="text" @click="jump('/notify/MyNotifyList')">我的通告</el-button>
                  </center>
                </div>
              </el-col>
            </td>
          </tr>
          <tr align="center">
    <!--        <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="23">
                <div class="grid-content "><img src="./img/taolun.png">
                  <center>
                    <el-button type="text" @click="jump ()">问题讨论</el-button>
                  </center>
                </div>
              </el-col>
            </td> -->
            <!-- <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="23">
                <div class="grid-content " @click="jump('/notify/MyNotifyList')"><img src="../sys/dashboard/analysis/img/通告.png">
                  <center>
                    <el-button type="text" @click="jump('/notify/MyNotifyList')">我的通告</el-button>
                  </center>
                </div>
              </el-col>
            </td> -->
            <!-- <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="23">
                <div class="grid-content "><img src="./img/taolun.png">
                  <center>
                    <el-button type="text" @click="jump ()">问题讨论</el-button>
                  </center>
                </div>
              </el-col>
            </td> -->
          </tr>
          <!-- <tr align="center">
            <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="23">
                <div class="grid-content "><img src="./img/falv.png">
                  <center>
                    <el-button type="text" @click="jump ('/dqsy/quiry/FfLeftTreesList')">法律查询</el-button>
                  </center>
                </div>
              </el-col>
            </td>
            <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="23">
                <div class="grid-content "><img src="./img/falvwenshu.png">
                  <center>
                    <el-button type="text" @click="jump ('handlingcases/YjyShoujiList')">办案手记</el-button>
                  </center>
                </div>
              </el-col>
            </td>
            <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="23">
                <div class="grid-content "><img src="./img/falvwenshu.png">
                  <center>
                    <el-button type="text" @click="jump ('/notify/OaNotifyList')">发布通告</el-button>
                  </center>
                </div>
              </el-col>
            </td>
          </tr> -->
          <!-- <tr align="center">
            <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="23">
                <div class="grid-content "><img src="./img/falv.png">
                  <center>
                    <el-button type="text" @click="jump ('/dqsy/quiry/FfLeftTreesList')">法律查询</el-button>
                  </center>
                </div>
              </el-col>
            </td>
            <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="23">
                <div class="grid-content "><img src="./img/falvwenshu.png">
                  <center>
                    <el-button type="text" @click="jump ('handlingcases/YjyShoujiList')">办案手记</el-button>
                  </center>
                </div>
              </el-col>
            </td>
            <td style="background-color: #ffffff; width: 100px;height: 115px;">
              <el-col :span="23">
                <div class="grid-content "><img src="./img/falvwenshu.png">
                  <center>
                    <el-button type="text" @click="jump ('/notify/OaNotifyList')">我的通告</el-button>
                  </center>
                </div>
              </el-col>
            </td>
          </tr> -->
        </table>
      </el-col>
    </el-main>


    <div class="footer_guide" style="height: 75px;">

      <a href="javascript:;" class="guide_item" :class="{on : '/order'===$route.path}" @click="goTo ('/calendar/MyCalendar')">
        <span class="item_icon">
          <i class="el-icon-s-promotion" style="font-size: 25px;"></i>
        </span>
        <span>日程</span>
      </a>
      <a href="javascript:;" class="guide_itemc" :class="{on : '/order'===$route.path}" @click="goTo ('/application/index')">
        <span class="item_icon" style="margin-top: 7px;">
          <i class="el-icon-s-shop" style="font-size: 40px; font-weight: bold; color: #1890FF;"></i>
        </span>
        <span style="color: #1890FF;">应用库</span>
      </a>

      <a href="javascript:;" class="guide_item" :class="{on : '/msite'===$route.path}" @click="goTo ('/home')">
        <span class="item_icon">
          <i class="el-icon-s-home" style="font-size: 25px;"> </i>
        </span>
        <span>工作台</span>
      </a>

      <a href="javascript:;" class="guide_item" :class="{on : '/order'===$route.path}" @click="goTo ('/mailbox/index')">
        <span class="item_icon">
          <i class="el-icon-s-comment" style="font-size: 25px;"></i>
        </span>
        <span>消息</span>
      </a>
      <a href="javascript:;" class="guide_item" :class="{on : '/profile'===$route.path}" @click="goTo ('/sys/user/UserInfo')">
        <span class="item_icon">
          <i class="el-icon-user-solid" style="font-size: 25px;"></i>
        </span>
        <span>我的</span>
      </a>
    </div>

  </div>
</template>

<script>
  export default {
    data () {
      return {}
    },
    methods: {
      goTo (path) {
        this.$router.replace(path)
      },
      jump (p) {
        this.$router.push(p)
      }
    }
  }
</script>

<style>
  .img {
    margin-left: 5%;
  }

  .footer_guide {
    border-top: 1px soild #e4e4e4;
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 1px;
    font-size: 600px;
    background-color: #fff;
    width: 100%;
    height: 80px;
    display: flex;

  }

  .guide_item {
    display: flex;
    flex: 1;
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    color: #999999;
  }

  .guide_itemc {
    display: flex;
    flex: 1;
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    color: #999999;
  }

  .on {
    color: #02a774
  }

  .img {
    margin-left: 5%;
  }

  span {
    font-size: 14px;
    margin-top: 2px;
    margin-bottom: 2px;
  }

  .grid-content {
    border-radius: 4px;
    min-height: 38px;
  }
</style>
